﻿using GameServer;
using GameServer.Virtual_Objects.Room;
using GameServer.Virtual_Objects.User;
using System;

namespace GameServer.Networking.Packets
{
    internal class PACKET_SPECTATE_ROOM : Packet
    {
        public PACKET_SPECTATE_ROOM()
        {
            base.newPacket(29488);
            base.addBlock(0);
        }

        public PACKET_SPECTATE_ROOM(virtualUser User, virtualRoom Room)
        {
            base.newPacket(29488);
            base.addBlock(1);
            base.addBlock(1);
            base.addBlock(32 + User.SpectatorID);
            base.addRoomInfo(Room);
        }
    }
}
